package com.yehun.exception;


import com.yehun.enums.ResultEnum;

/**
 * 验证异常
 * Created by Genius on 2017/4/26 0026.
 */
public class ValidatorException extends CustomException {
    private static final long serialVersionUID = 7849843115473317085L;

    ValidatorException(ResultEnum code) {
        super(code);
    }

    ValidatorException(String message) {
        super(message);
    }

    ValidatorException(Throwable cause) {
        super(cause);
    }

    public ValidatorException(ResultEnum code, String message) {
        super(code, message);
    }

    ValidatorException(String message, Throwable cause) {
        super(message, cause);
    }
}
